package com.sfang.common.base.collection;

import java.io.Serializable;

/**
 * Created by psalmody on 2016/10/8.
 */
public class QuaternityTuple<A, B, C, D, E> implements Serializable {

    public QuaternityTuple() {

    }

    public QuaternityTuple(A a, B b, C c, D d, E e) {
        this.first = a;
        this.second = b;
        this.third = c;
        this.fourth = d;
        this.fifth = e;
    }

    private A first;
    private B second;
    private C third;
    private D fourth;
    private E fifth;

    public D getFourth() {
        return fourth;
    }

    public void setFourth(D fourth) {
        this.fourth = fourth;
    }


    public E getFifth() {
        return fifth;
    }

    public void setFifth(E fifth) {
        this.fifth = fifth;
    }


    public A getFirst() {
        return first;
    }

    public void setFirst(A first) {
        this.first = first;
    }

    public B getSecond() {
        return second;
    }

    public void setSecond(B second) {
        this.second = second;
    }

    public C getThird() {
        return third;
    }

    public void setThird(C third) {
        this.third = third;
    }

    public static <A, B, C, D, E> QuaternityTuple<A, B, C, D, E> create(A a, B b, C c, D d, E e) {
        QuaternityTuple<A, B, C, D, E> quaternityTuple = new QuaternityTuple<A, B, C, D, E>(a, b, c, d, e);
        return quaternityTuple;
    }

}
